package cn.edu.scau.cmi.luotiansheng_chapter5;

/**
 * 
 * 20.0
 * 100
 */

class D{
	double f(int x,double y) {
		return x+y;
	}
	int f(int x,int y) {
		return x*y;
	}
}

public class Exercise10 {
	public static void main(String[] args) {
		D d=new D();
		System.out.println(d.f(10,10.0));
		System.out.println(d.f(10,10));
	}
}
